<template>
  <div>
    <!-- 遍历获取到的数据，展示第一个按钮，将数组传递给组件，做具体操作 -->
    <div v-for="(item, index) in actionsData" :key="item.id">
      <runInSon :treedata="actionsData" v-show="index === 0"></runInSon>
    </div>
  </div>
</template>

<script>
import runInSon from './runInSon.vue'
export default {
  props: ['actionsData'],
  name: 'RunIn',
  components: {
    runInSon
  },
  data() {
    return {}
  },
  mounted() {},
  methods: {}
}
</script>

<style lang="scss" scoped></style>
